package com.bit.cfdi.web.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.bit.cfdi.web.domain.HistorialPassword;

public interface HistorialPasswordDAO {
	
	public void save(final HistorialPassword historialPassword) throws DataAccessException;
	
	public List<HistorialPassword> getAll() throws DataAccessException;

	public List<HistorialPassword> getFirstThreeRecords(String email) throws DataAccessException;
		
	public void deleteMinRecord(HistorialPassword historialPassword) throws DataAccessException;
	
	 public String existThisPassword(String password) throws DataAccessException; 
	
}
